﻿namespace Wulong.Phone.Qiushi.Views
{
    public partial class CommentsView
    {
        public CommentsView()
        {
            InitializeComponent();
            LoadAppBar();
        }

        private void LoadAppBar()
        {
            // Set the page's ApplicationBar to a new instance of ApplicationBar
            //ApplicationBar = new ApplicationBar();
            //var emailButton = new AppBarButton
            //{
            //    IconUri = new Uri("/images/email_sent.png", UriKind.Relative),
            //    Text = AppResources.App_Sent_By_Email,
            //    Message = "SentByEmailCommand"
            //};
            //ApplicationBar.Buttons.Add(emailButton);

            //var smsButton = new AppBarButton
            //{
            //    IconUri = new Uri("/images/sms_sent.png", UriKind.Relative),
            //    Text = AppResources.App_Sent_By_SMS,
            //    Message = "SentBySmsCommand"
            //};
            //ApplicationBar.Buttons.Add(smsButton);

            //var settingButton = new AppBarButton
            //{
            //    IconUri = new Uri("/images/settings.png", UriKind.Relative),
            //    Text = AppResources.App_Settings_Title,
            //    Message = "NavigateToSettingView"
            //};
            //ApplicationBar.Buttons.Add(settingButton);

            //var aboutUsMenuItem = new AppBarMenuItem
            //{
            //    Text = AppResources.App_AboutUs_Title,
            //    Message = "NavigateToAboutUsPage"
            //};
            //ApplicationBar.MenuItems.Add(aboutUsMenuItem);
        }
    }
}